Skip to content

Commit

Permalink
.github/workflows: switched to fixed ubuntu version and to v4 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jahnestacado committed Jun 18, 2024
1 parent 7b5b47f commit 22a732f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push ]

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ]
Expand All @@ -14,15 +14,15 @@ jobs:
with:
fetch-depth: '0'
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

- name: Run tests
run: make test

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: matrix.go == '1.18'
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:

jobs:
tag:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Bump version and push tag
Expand Down

0 comments on commit 22a732f

Please sign in to comment.