Skip to content

Commit

Permalink
fix: try to upgrade github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleclerc committed Oct 2, 2023
1 parent 453021d commit 62a205c
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
Expand All @@ -35,7 +35,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -48,9 +48,9 @@ jobs:
cache: yarn

- name: Setup Go environment
uses: actions/setup-go@v2.1.3
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
go-version: '^1.21.1'

- run: yarn install --frozen-lockfile

Expand All @@ -70,7 +70,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- id: extract_ref
run: echo ::set-output name=GIT_REF::$(echo ${GITHUB_REF##*/})
Expand All @@ -84,12 +84,16 @@ jobs:
cache: yarn

- name: Setup Go environment
uses: actions/setup-go@v2.1.3
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
go-version: '^1.21.1'

- uses: satackey/[email protected]
continue-on-error: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64

- run: yarn install --frozen-lockfile

Expand Down Expand Up @@ -119,7 +123,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- id: extract_ref
run: echo ::set-output name=GIT_REF::$(echo ${GITHUB_REF##*/})
Expand Down

0 comments on commit 62a205c

Please sign in to comment.