diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8407929..2cf8957 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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) @@ -35,7 +35,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -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 @@ -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##*/}) @@ -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/action-docker-layer-caching@v0.0.11 - 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 @@ -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##*/})