Rename action
All checks were successful
Go / Go ${{ matrix.go }} test (1.21) (push) Successful in 10m32s
All checks were successful
Go / Go ${{ matrix.go }} test (1.21) (push) Successful in 10m32s
This commit is contained in:
28
.gitea/workflows/go.yaml
Normal file
28
.gitea/workflows/go.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go: [ '1.21' ]
|
||||
name: Go ${{ matrix.go }} test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
# - name: Test
|
||||
# run: go test -v ./...
|
||||
Reference in New Issue
Block a user