From c54118d11082c5e27a991568c0d4acca11e63ba7 Mon Sep 17 00:00:00 2001 From: Albin Kerouanton Date: Sat, 28 Oct 2023 13:18:01 +0200 Subject: [PATCH] ci: Update GHA actions Signed-off-by: Albin Kerouanton --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e752b5c1..b41f1edf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,13 +19,13 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Install Go ${{ matrix.go }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - name: Setup IPv6 run: sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=0 - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build for ${{ matrix.platform }} run: go build ./... - name: Test @@ -42,11 +42,11 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Install Go ${{ matrix.go }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build for ${{ matrix.platform }} run: go build ./... - name: Test @@ -61,7 +61,7 @@ jobs: platform: [ubuntu-20.04, windows-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 + - uses: actions/setup-go@v4 - uses: golangci/golangci-lint-action@v2 with: # must be specified without patch version