Skip to content

Commit

Permalink
chore: bump github actions workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ublefo committed Apr 11, 2024
1 parent 7c6e527 commit 441cacc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -68,4 +68,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
30 changes: 15 additions & 15 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
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: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Setup meta for development image
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: lmsdoubtfire/doubtfire-api
tags: |
type=semver,pattern={{major}}.{{minor}}.x-dev
- name: Build and push api server
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -48,18 +48,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v5
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Setup meta for api server
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: lmsdoubtfire/apiServer
tags: |
Expand All @@ -70,7 +70,7 @@ jobs:
type=semver,pattern=prod-{{major}}
- name: Build and push api server
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: deployApi.Dockerfile
context: .
Expand All @@ -85,18 +85,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
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: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Setup meta for app server
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: lmsdoubtfire/appServer
tags: |
Expand All @@ -107,7 +107,7 @@ jobs:
type=semver,pattern=prod-{{major}}
- name: Build and push app server
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: deployAppSvr.Dockerfile
context: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
BUNDLE_WITHOUT: default doc job cable storage ujs test db

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Ruby 3.1
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit 441cacc

Please sign in to comment.