Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit e2cf54f

Browse files
authored
chore: pin gh actions versions (#9)
1 parent c9cac34 commit e2cf54f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Diff for: .github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
goos: [linux, windows, darwin]
1919
goarch: [amd64, arm64]
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3.0.0
2222
- name: setup golang
23-
uses: actions/setup-go@v2
23+
uses: actions/setup-go@v3.0.0
2424
with:
2525
go-version: 1.17
2626
- name: add build file suffix
@@ -32,7 +32,7 @@ jobs:
3232
GOARCH: ${{ matrix.goarch }}
3333
run: go build -o build/monstercat_${{ matrix.goos }}_${{ matrix.goarch }}${{ env.SUFFIX }} main.go
3434
- name: store binary
35-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v3.0.0
3636
with:
3737
name: ${{ matrix.goos }}_${{ matrix.goarch }}
3838
path: build/
@@ -42,10 +42,10 @@ jobs:
4242
if: startsWith(github.ref, 'refs/tags/')
4343
steps:
4444
- name: download all binaries
45-
uses: actions/download-artifact@v2
45+
uses: actions/download-artifact@v3.0.0
4646
with:
4747
path: build/
4848
- name: upload artifacts to release
49-
uses: softprops/action-gh-release@v1
49+
uses: softprops/action-gh-release@v0.1.14
5050
with:
5151
files: build/**/*

Diff for: .github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
test:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3.0.0
1616
- name: setup golang
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v3.0.0
1818
with:
1919
go-version: 1.17
2020
- name: run tests
2121
run: go test -cover -v ./...
2222
lint:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3.0.0
2626
- name: run revive
27-
uses: morphy2k/revive-action@v2
27+
uses: morphy2k/revive-action@v2.2.5
2828
with:
2929
exclude: "./vendor/..."

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2021 Marvin Menzerath
3+
Copyright (c) 2020-2022 Marvin Menzerath
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)