Skip to content

Commit

Permalink
chore: update GitHub Action Versions (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
beeman and github-actions[bot] authored Nov 13, 2024
1 parent f8916e6 commit 96141df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,43 +19,43 @@ jobs:
packages: write

steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4.0.0
with:
version: 8
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.2.2

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v5.5.1
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker (dev)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6.9.0
if: github.ref == 'refs/heads/dev'
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker (main)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6.9.0
if: github.ref == 'refs/heads/main'
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker (Manual)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6.9.0
if: github.event_name == 'workflow_dispatch'
with:
context: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.15.0
with:
node-version: 20.10.0
pnpm-version: 9.3.0
Expand All @@ -33,7 +33,7 @@ jobs:
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.15.0
with:
node-version: 20.10.0
pnpm-version: 9.3.0
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ jobs:
ports: ['6379:6379']
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4.0.0
with:
version: 9.3.0
- uses: actions/checkout@v3
- uses: actions/checkout@v4.2.2
name: Checkout [main]
with:
fetch-depth: 0
- uses: actions/cache@v3
- uses: actions/cache@v4.1.2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.1.0
with:
node-version: '18'
- run: pnpm install --frozen-lockfile --prefer-frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
Expand Down

0 comments on commit 96141df

Please sign in to comment.