Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deniszh committed Jun 5, 2024
1 parent 8a85488 commit 1296f8d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.20.x, 1.21.x, tip ]
go-version: [ 1.20.x, 1.21.x, 1.22.x, tip ]
steps:
- name: Set up Go stable
if: matrix.go-version != 'tip'
Expand All @@ -15,18 +15,18 @@ jobs:
- name: Set up Go tip
if: matrix.go-version == 'tip'
run: |
curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
ls -lah gotip.tar.gz
mkdir -p ~/sdk/gotip
tar -C ~/sdk/gotip -xzf gotip.tar.gz
~/sdk/gotip/bin/go version
curl -o go.tar.gz -L \
https://github.com/AlekSi/golang-tip/releases/download/tip/master.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go.tar.gz
sudo ln -s /usr/local/go/bin/* /usr/local/bin/
/usr/local/bin/go version
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
- name: checkout code
uses: actions/checkout@v3
- name: golangci-lint
if: matrix.go-version == '1.21.x'
if: matrix.go-version == 'tip'
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
version: v1.59.0
- name: test
run: make test

0 comments on commit 1296f8d

Please sign in to comment.