Skip to content

Commit

Permalink
Update actions workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Estes <[email protected]>
  • Loading branch information
estesp committed Mar 14, 2024
1 parent e39e7b0 commit 055c2be
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:

strategy:
matrix:
go-version: [1.20.x]
go-version: [1.22.x]
os: [ubuntu-22.04, macos-12, windows-2019]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/github.com/estesp/mquery

Expand All @@ -34,9 +34,9 @@ jobs:
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v4
with:
version: v1.51.1
version: v1.56.1
skip-cache: true
working-directory: src/github.com/estesp/mquery
args: --timeout=5m
Expand All @@ -50,15 +50,15 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/github.com/estesp/mquery
fetch-depth: 100

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Set env
shell: bash
Expand All @@ -67,9 +67,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Install dependencies
env:
GO111MODULE: off
run: go get -u github.com/vbatts/git-validation
run: go install github.com/vbatts/git-validation@latest

- name: DCO
env:
Expand Down Expand Up @@ -105,17 +103,17 @@ jobs:
os: [ubuntu-22.04, macos-12, windows-2019]

steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Set env
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/github.com/estesp/mquery

Expand All @@ -133,17 +131,17 @@ jobs:
needs: [project, linters]

steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Set env
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/github.com/estesp/mquery

Expand Down

0 comments on commit 055c2be

Please sign in to comment.