Skip to content

Commit

Permalink
chore: Update github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Feb 23, 2024
1 parent 2c9df97 commit 13e0dc5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checkout TokTok/ci-tools
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: TokTok/ci-tools
path: ci-tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
buildifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
container: toxchat/toktok-stack:haskell
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run tests
run: stack test
- name: Build source package
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/haskell-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: .github/docker/Dockerfile
push: true
Expand All @@ -40,9 +40,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Checkout TokTok/ci-tools
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: TokTok/ci-tools
path: ci-tools
Expand All @@ -53,7 +53,7 @@ jobs:
cabal-version: ${{ inputs.cabal-version }}

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
ghc-version: ${{ inputs.ghc-version }}
cache-name: cache-cabal
Expand Down

0 comments on commit 13e0dc5

Please sign in to comment.