Skip to content

Commit

Permalink
update go in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Feb 19, 2024
1 parent 9f62ed0 commit 9c9917a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 9c9917a

Please sign in to comment.