Compare commits

...

2 Commits

Author SHA1 Message Date
raul 3c1bba943e Add workflows 2024-05-01 08:40:31 +02:00
raul 72227af144 Add Makefile 2024-04-30 12:23:40 +02:00
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,27 @@
name: Go audit
run-name: ${{ gitea.actor }} pushed to main! 🚀
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '>=1.22.0'
- name: Verify dependencies
run: go mod verify
- name: Build
run: go build -v ./...
- name: Run go vet
run: go vet ./...

3
Makefile Normal file
View File

@ -0,0 +1,3 @@
uploader:
go build -o ./uploader .
strip ./uploader