diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d473979e3..15b8992d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,8 +5,8 @@ jobs: test: strategy: matrix: - go: [ "1.21", "1.20", "1.19" ] - os: [ ubuntu-22.04, ubuntu-20.04 ] + go: [ "1.22", "1.21" ] + os: [ ubuntu-24.04, ubuntu-22.04 ] name: Tests Go ${{ matrix.go }} on ${{ matrix.os }} # This name is used in main branch protection rules runs-on: ${{ matrix.os }} @@ -31,11 +31,11 @@ jobs: run: | sudo apt-get install -y make gcc - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v5 - name: Run tests run: | # separate test to avoid RESET MASTER conflict @@ -46,7 +46,7 @@ jobs: name: golangci runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: @@ -65,10 +65,10 @@ jobs: run: | sudo apt-get install -y make gcc - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.22" - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Build on ${{ matrix.os }}/${{ matrix.arch }} run: GOARCH=${{ matrix.arch }} GOOS=${{ matrix.os }} go build ./...