Skip to content

Commit

Permalink
Merge pull request #389 from elliotwutingfeng/ci
Browse files Browse the repository at this point in the history
Fix CI: go.yml
  • Loading branch information
boyter committed May 10, 2023
2 parents 93bc8be + d044c5a commit 225e181
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.17
go-version-file: './go.mod'

- name: Build
run: go build -v ./...
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
name: A job to count the lines of code.
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get the lines of code.
id: scc
uses: iryanbell/scc-docker-action@v1.0.2
Expand Down

0 comments on commit 225e181

Please sign in to comment.