diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ea8267815..6caaf1a8fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - id: changed-files uses: tj-actions/changed-files@v41 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6bbd7340e6..2d8fba0125 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,7 +44,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e97d1a26ca..dd3fb0d3cf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v23 with: @@ -38,7 +38,7 @@ jobs: *.sum - name: run golangci-lint run: | - nix profile install nixpkgs#golangci-lint + nix profile install -f ./nix golangci-lint nix profile install -f ./nix rocksdb export PKG_CONFIG_PATH=$HOME/.nix-profile/lib/pkgconfig export CGO_CFLAGS="$(pkg-config --cflags rocksdb)" CGO_LDFLAGS="$(pkg-config --libs rocksdb)" diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index 2f6284d1e8..44a89c320e 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -110,7 +110,7 @@ jobs: if: github.event_name == 'push' || github.event_name == 'pull_request' - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - name: Display go version run: go version - run: make build @@ -131,7 +131,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - name: Display go version run: go version - name: Install runsim @@ -158,7 +158,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - name: Checkout Comment PR Branch uses: actions/checkout@v3 if: github.event_name == 'issue_comment' @@ -214,7 +214,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - name: Checkout Comment PR Branch uses: actions/checkout@v3 if: github.event_name == 'issue_comment' @@ -270,7 +270,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - name: Checkout Comment PR Branch uses: actions/checkout@v3 if: github.event_name == 'issue_comment' @@ -326,7 +326,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '^1.20.0' + go-version: '^1.22.0' - name: Checkout Comment PR Branch uses: actions/checkout@v3 if: github.event_name == 'issue_comment'