Skip to content

Commit

Permalink
updating go in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-viles committed Sep 5, 2024
1 parent 48aedc3 commit 8c3f74e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
jobs:
lint:
name: Lint files
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22.1'
go-version: '1.23.1'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -23,17 +23,17 @@ jobs:

test:
name: Run tests
runs-on: 'ubuntu-22.04'
runs-on: ubuntu-22.04
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22.1'
go-version: '1.23.1'
- run: go test -v -cover ./...

security-checks:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: test
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
release:
name: Create Release
runs-on: 'ubuntu-22.04'
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand All @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.22.1'
go-version: '1.23.1'
- name: Get OS and arch info
run: |
GOARCH=amd64
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
jobs:
lint:
name: Lint files
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22.1'
go-version: '1.23.1'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -24,17 +24,17 @@ jobs:

test:
name: Run tests
runs-on: 'ubuntu-22.04'
runs-on: ubuntu-24.04
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22.1'
go-version: '1.23.1'
- run: go test -v -cover ./...

security-checks:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: test
permissions:
contents: read
Expand Down

0 comments on commit 8c3f74e

Please sign in to comment.