Update GitHub Actions versions (#195)

* Update GitHub Actions versions

* Fix Go workflow checkout order

* Refresh apt metadata before installing PAM
This commit is contained in:
Markus Häll
2026-08-18 11:06:50 +02:00
committed by GitHub
parent 8998ab1066
commit a61f9ce30b
3 changed files with 19 additions and 17 deletions
+7 -5
View File
@@ -13,17 +13,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v7
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v7
with:
go-version: ^1.22
id: go
- name: Install pam-devel
run: sudo apt-get -y install libpam-dev
- name: Check out code into the Go module directory
uses: actions/checkout@v2
run: |
sudo apt-get update
sudo apt-get install -y libpam-dev
- name: Install golint
run: go get -u golang.org/x/lint/golint