Skip to content

Commit

Permalink
chore: Update GH action uses to their latest versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Aug 11, 2023
1 parent b21a6be commit c1af527
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 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@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checkout TokTok/ci-tools
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: TokTok/ci-tools
path: ci-tools
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ jobs:
buildifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install
run: |
BUILDIFIER_URL=https://github.com/bazelbuild/buildtools/releases/download/5.0.1/buildifier-linux-amd64
BUILDIFIER_URL=https://github.com/bazelbuild/buildtools/releases/download/6.1.2/buildifier-linux-amd64
wget -O buildifier "$BUILDIFIER_URL" ||
wget -O buildifier "$BUILDIFIER_URL" ||
wget -O buildifier "$BUILDIFIER_URL"
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@v2
- uses: actions/checkout@v3
- name: Run tests
run: stack test
- name: Build source package
Expand Down
14 changes: 7 additions & 7 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@v1
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
file: .github/docker/Dockerfile
push: true
Expand All @@ -40,20 +40,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Checkout TokTok/ci-tools
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: TokTok/ci-tools
path: ci-tools

- uses: actions/setup-haskell@v1
- uses: actions/setup-haskell@v1.1
with:
ghc-version: ${{ inputs.ghc-version }}
cabal-version: ${{ inputs.cabal-version }}

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

0 comments on commit c1af527

Please sign in to comment.