Skip to content

Commit

Permalink
chore: bump action version due to nodejs 16 depreciation
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Mar 6, 2024
1 parent 18836c8 commit a0a67aa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-n-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ^1.20.0
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lint
run: make lint
Expand All @@ -58,32 +58,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"

- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install
run: npm install --prefix ui/
- name: Lint
run: npm run lint --prefix ui/

build:
runs-on: ubuntu-latest
needs: [ test-backend, test-frontend ]
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
name=ghcr.io/edgetx/cloudbuild
Expand All @@ -94,14 +94,14 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push cloudbuild
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: ./
file: ./Dockerfile.production
Expand Down

0 comments on commit a0a67aa

Please sign in to comment.