Skip to content

Commit

Permalink
Cleanup CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
naspeh committed Apr 25, 2024
1 parent dc6988e commit 7871d1d
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@ on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20', '1.21.x', '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version: 1.22.x
- run: go version

- name: gofmt
Expand All @@ -24,31 +20,14 @@ jobs:
exit 1
fi
# TODO: should be reproducible build
# - name: go build
# run: |
# set -e
# sha1sum timefor
# go get
# go list -m all
# go build
# out=$(git status --porcelain)
# if [ -n "$out" ]; then
# echo 'Run "go build" and commit binary'
# echo $out
# sha1sum timefor
# exit 1
# fi

- run: go vet
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version: 1.22.x
- run: go version

- name: test
Expand Down

0 comments on commit 7871d1d

Please sign in to comment.