Skip to content

Commit

Permalink
ci/cd: use specific versions for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed Jan 9, 2023
1 parent 74c534a commit 02c7cdd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
shell: bash

- name: Send Slack notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@v2.2.1
env:
SLACK_COLOR: ${{ inputs.success == 'true' && 'success' || 'failure' }}
SLACK_FOOTER: made with ❤️ for everyone by <https://www.octolab.org/|OctoLab>
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cd.urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,25 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
submodules: true
token: ${{ secrets.DEPENDABOT_TOKEN }}
- name: Install dependencies
run: curl -sSfL https://install.octolab.org/maintainer | sh -s -- -b /usr/local/bin -dx
- name: Set up GitHub Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v3.0.7
- name: Set up Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v4.1.0
with: { go-version: 1.21.x, cache-dependency-path: src/*/go.sum, check-latest: true }

- name: Build static HTML
run: make
env:
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
- name: Upload the documentation
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v2.0.0
with: { path: dist }

deploy:
Expand All @@ -69,7 +69,7 @@ jobs:
steps:
- name: Deploy it to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v2.0.5

notify:
name: Notifying
Expand All @@ -79,7 +79,7 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Send notification
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Send notification
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cleanup.runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
uses: Mattraks/delete-workflow-runs@v2.0.5
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Send notification
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/warmup.caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
submodules: true
token: ${{ secrets.DEPENDABOT_TOKEN }}
- name: Set up Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v4.1.0
with: { go-version: 1.21.x, cache-dependency-path: src/*/go.sum, check-latest: true }

- name: Fetch dependencies
Expand All @@ -42,7 +42,7 @@ jobs:

steps:
- name: Checkout the repository
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }

- name: Send notification
Expand Down

0 comments on commit 02c7cdd

Please sign in to comment.