Cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Run tests
|
||||
name: Build
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -6,28 +6,9 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go: [stable]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
#- name: golangci-lint
|
||||
# uses: golangci/golangci-lint-action@v9
|
||||
# with:
|
||||
# go-version: ${{ matrix.go }}
|
||||
# version: v2.6
|
||||
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
go: [stable]
|
||||
include:
|
||||
- goos: linux
|
||||
goarch: amd64
|
||||
@@ -44,7 +25,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
go-version: stable
|
||||
- name: Set target variables
|
||||
run: |
|
||||
echo "GOOS=${{ matrix.goos }}" >> $GITHUB_ENV
|
||||
22
.gitea/workflows/test.yaml
Normal file
22
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Run tests
|
||||
on:
|
||||
push:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
#- name: golangci-lint
|
||||
# uses: golangci/golangci-lint-action@v9
|
||||
# with:
|
||||
# go-version: ${{ matrix.go }}
|
||||
# version: v2.6
|
||||
Reference in New Issue
Block a user