Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from protocol/update-deps
Browse files Browse the repository at this point in the history
chore: update official GitHub actions
  • Loading branch information
galargh authored Dec 5, 2022
2 parents c0d7bae + 4dd82b6 commit 5ce5516
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
go: ["1.16.x", "1.17.x"]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: cache-go-action
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: ./cache-go-action
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.1] - 2022-12-05
### Changed
- updated official GitHub actions from v2 to v3

## [1.1.0] - 2021-12-14
### Added
- input `name` which is going to be used as part of the cache keys
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: 'Cache Go'
description: 'Cache Go modules'
inputs:
name:
description: 'The name that is going to be used as a part of the cache keys'
description: 'The name that is going to be used as a part of the cache keys'
required: true
default: 'go'
runs:
using: "composite"
steps:
- if: ${{ runner.os == 'Linux' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -18,7 +18,7 @@ runs:
restore-keys: |
${{ runner.os }}-${{ inputs.name }}-
- if: ${{ runner.os == 'macOS' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/Library/Caches/go-build
Expand All @@ -27,7 +27,7 @@ runs:
restore-keys: |
${{ runner.os }}-${{ inputs.name }}-
- if: ${{ runner.os == 'Windows' }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
%LocalAppData%\go-build
Expand Down

0 comments on commit 5ce5516

Please sign in to comment.