Skip to content

Commit

Permalink
Merge pull request #93 from OperationSpark/update-actions
Browse files Browse the repository at this point in the history
Update Actions dependencies
  • Loading branch information
harveysanders authored Mar 13, 2024
2 parents cd793b1 + b9e0e54 commit 48c5f6a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.21

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- id: "auth"
uses: "google-github-actions/auth@v0"
uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.GCP_SA_CREDS_JSON }}"

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v0"
uses: "google-github-actions/setup-gcloud@v2"

# Using curl over "gcloud functions call" to specify the /notify endpoint
- id: "cloud-function-trigger-curl"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- uses: actions/checkout@v3

- id: "auth"
uses: "google-github-actions/auth@v0"
uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.GCP_SA_CREDS_JSON }}"

- id: "deploy"
uses: "google-github-actions/deploy-cloud-functions@v0"
uses: "google-github-actions/deploy-cloud-functions@v2"
with:
name: "session-signups-dev"
entry_point: "HandleSignUp"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
environment: testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- id: "auth"
uses: "google-github-actions/auth@v0"
uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.GCP_SA_CREDS_JSON }}"

- id: "deploy"
uses: "google-github-actions/deploy-cloud-functions@v0"
uses: "google-github-actions/deploy-cloud-functions@v2"
with:
name: "session-signups-testing"
entry_point: "HandleSignUp"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
environment: production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- id: "auth"
uses: "google-github-actions/auth@v0"
uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.GCP_SA_CREDS_JSON }}"

- id: "deploy"
uses: "google-github-actions/deploy-cloud-functions@v0"
uses: "google-github-actions/deploy-cloud-functions@v2"
with:
name: "session-signups"
entry_point: "HandleSignUp"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run linters
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.55.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/signup-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Run Signup Smoke Test"
run: |
cd cmd/smoke
Expand Down

0 comments on commit 48c5f6a

Please sign in to comment.